﻿using System;

namespace RestUpMVC.Resource
{
    [AttributeUsage(AttributeTargets.Class)]
    public class ChildOfAttribute : Attribute
    {
        public Type ParentResource { get; private set; }

        public ChildOfAttribute(Type parentResource)
        {
            ParentResource = parentResource;
        }
    }
}